import * as step from "../../src/index"
import process from "process";

// Add to environment variable, effective in current and subsequent steps
step.info(`before exportEnvVar Custom_Env_Key=${process.env["Custom_Env_Key"]}`)
step.exportEnvVar('Custom_Env_Key', 'Custom_Env_Value')
step.success(`after exportEnvVar Custom_Env_Key=${process.env["Custom_Env_Key"]}`)

// Add to PATH variable, effective in current and subsequent steps
step.info(`before addPath PATH=${process.env["PATH"]}`)
step.addPath("/tmp/flow-tools/go/1.22.3/x64/bin")
step.success(`after addPath PATH=${process.env["PATH"]}`)
